<?php Schema::init(); ?>
<div class="schema_wrapper">
	<?php if ($error != -1) { ?>
		<div class="schema_message">
		<?php if (!$error) {
			Backend::infoMessage('Group deleted sucsesfuly');
		} else {
			Backend::errorMessage('Error deleting group');
		} ?>
		</div>
	<?php } else { ?>
		<div class="schema_header">
			Delete group "<?php echo $info['name']; ?>"?
		</div>
		<form action="<?php echo CURRENT_URL, $info['id']; ?>" method="post">
			<div class="schema_buttons">
				<input type="submit" value="Delete" class="schema_submit" />
				<input type="button" value="Cancel" class="schema_button" onclick="history.back()" />
			</div>
		</form>
	<?php } ?>
</div>